From 418f758483bc29857e1593775bb2ce0fdb4d34c6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 12 Feb 2009 10:53:10 +0000 Subject: [PATCH] xm save: Display help text if bad options specified. Signed-off-by: Masaki Kanno --- tools/python/xen/xm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 9c19362715..7eba580a66 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -739,7 +739,7 @@ def xm_save(args): (options, params) = getopt.gnu_getopt(args, 'c', ['checkpoint']) except getopt.GetoptError, opterr: err(opterr) - sys.exit(1) + usage('save') checkpoint = False for (k, v) in options: -- 2.30.2